package com.xique.api.service.biz.service;

import com.xique.api.bean.request.ParkApiCarInAndOutRecordListRequest;
import com.xique.api.bean.request.ParkingOrderInfoRequest;
import com.xique.api.bean.request.ReceiveCouponRequest;
import com.xique.common.core.web.domain.AjaxResult;

/**
 * @author shd
 * @create 2021/11/16 14:56
 */
public interface IParkApiBizService {

    /**
     * 获取车位信息
     * @author shd
     * @date 2021/11/16 14:58
     * @return com.xique.common.core.web.domain.AjaxResult
     */
    AjaxResult getParkingSpaceInfo();

    /**
     * 获取进出场记录
     * @author shd
     * @date 2021/11/16 15:00
     * @param request
     * @return com.xique.common.core.web.domain.AjaxResult
     */
    AjaxResult getCarInAndOutRecordList(ParkApiCarInAndOutRecordListRequest request);

    /**
     * 获取订单信息
     * @author shd
     * @date 2022/1/12 9:26
     * @param request
     * @return com.xique.common.core.web.domain.AjaxResult
     */
    AjaxResult getParkingOrderInfo(ParkingOrderInfoRequest request);

    /**
     * 领取优惠券
     * @author shd
     * @date 2022/1/12 14:24
     * @param request
     * @return com.xique.common.core.web.domain.AjaxResult
     */
    AjaxResult receiveCoupon(ReceiveCouponRequest request);
}
